package com.zm.campus.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_comm_point_th")
public class CommPointTh {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;//评论表的主键，自增
    private String commentUserId;//评论人的用户id
    private Long thId;//评论的树洞id
    private String comment;//评论的内容
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date commDate;//评论或点赞的日期
    private String department;//评论者所在学院


}
